var CocosMagic = {

    components : {},

    registerComponent : function (tagName,nodeBuilder,attributesBuilder) {
        CocosMagic.components[tagName] = {
            nodeBuilder : nodeBuilder,
            attributesBuilder : attributesBuilder
        }
    }

}